/* CSS Document */
@charset "UTF-8";

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IRANSans(FaNum).ttf');
    src: url('../fonts/IRANSans(FaNum)_Bold.ttf') format('truetype'), /* IE6-8 */ url('../fonts/IRANSans(FaNum)_Light.ttf') format('truetype'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/IRANSans(FaNum)_Medium.ttf') format('truetype'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/IRANSans(FaNum)_UltraLight.ttf') format('truetype');
}


.body1 {
    font-family: 'IRANSans', sans-serif;
    direction: rtl;
}

@media screen and (min-width: 30em) {
    body {

    }
}

.content {
    padding: 5px;
    background: #fafafa;
    background: rgba(250, 250, 250, 0.7);

    zoom: 1;
}

.content:before, .content:after {
    content: "\0020";
    display: block;
    height: 0;
    overflow: hidden;
}

.content:after {
    clear: both;
}

@media screen and (min-width: 30em) {
    .content {
        padding: 20px;
    }
}

center {
    color:black;
    margin-bottom: 0;
    font-size:25px;
}

p {
    line-height: 1.5;
}

a {
    color: #e83e8c;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    -moz-transition: color 0.25s ease-in, border 0.25s ease-in, background-color 0.25s ease-in;
    -o-transition: color 0.25s ease-in, border 0.25s ease-in, background-color 0.25s ease-in;
    -webkit-transition: color 0.25s ease-in, border 0.25s ease-in, background-color 0.25s ease-in;
    transition: color 0.25s ease-in, border 0.25s ease-in, background-color 0.25s ease-in;
}

a:hover {
    color: #e83e8c;
    border-bottom-color: #e83e8c;
}

a.cta {
    margin: 25px auto;
    width: 90%;
    position: relative;
    outline: 0;
    padding: 8px 0;
    display: block;
    cursor: pointer;
    color: #eee;
    background-color: #2ecc71;
    border: 0;
    font-size: 0.875em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

a.cta:hover {
    background-color: #25a25a;
    color: #fff;
}

a.cta:active {
    top: 2px;
    background-color: #1b7943;
}

.removeAlert {
    width: 100%;
    display: none;
    padding: 7px 5px;
    color: #eee;
    background: #2ecc71;
    background: rgba(46, 204, 113, 0.7);
}

table {
    width: 100%;
    color: #454545;
}

table.items {
    border-collapse: separate;
    border-spacing: 0 10px;
}

@media screen and (min-width: 45em) {
    table.items {
        width: 60%;
    }
}

@media screen and (min-width: 55em) {
    table.items {
        width: 70%;
    }
}

table.items tbody tr {
    margin-bottom: 10px;
    background-color: rgba(150, 160, 150, 0.05);
}

table.items tbody td {
    border-top: 1px solid rgba(204, 204, 204, 0.5);
    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
}

table.items tbody td:first-child {
    border-right: 1px solid rgba(204, 204, 204, 0.5);
}

table.items tbody td:last-child {
    border-left: 1px solid rgba(204, 204, 204, 0.5);
}

table.pricing {
    width: 100%;
}

table.pricing tr {
    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
}

table.pricing tr:last-child {
    border-bottom: 0;
    color: #e83e8c;
}

table.pricing td:nth-child(2) {
    display: table-cell;
}

th {
    text-transform: uppercase;
    background:#e83e8c;
    color: #eee;
    padding: 10px 0;
    text-align: center;
    font-size: 0.875em;
}

th:nth-child(2) {
    display: none;
}

@media screen and (min-width: 24em) {
    th:nth-child(2) {
        display: table-cell;
    }
}

td {
    padding: 10px;
}

td:first-child {
    width: 50%;
}

td:nth-child(2) {
    display: none;
}

@media screen and (min-width: 24em) {
    td:nth-child(2) {
        display: table-cell;
    }
}

td:nth-child(n+2):nth-child(-n+4) {
    text-align: center;
}

td:last-child {
    font-weight: bold;
}

td a.remove {
    font-size: 0.75em;
    display: block;
    width: 50px;
    margin: 5px auto 0;

}

td a.remove:hover {
    color: #a82315;
    border-bottom-color: #a82315;
}

td p {
    float: right;
    width: 90%;
    margin-top: 0;
}

@media screen and (min-width: 40em) {
    td p {
        width: 55%;
    }
}

@media screen and (min-width: 68em) {
    td p {
        width: 45%;
    }
}

@media screen and (min-width: 80em) {
    td p {
        width: 55%;
    }
}

td p.description {
    display: none;
}

@media screen and (min-width: 57em) {
    td p.description {
        font-size: 0.8em;
        display: inline;
    }
}

td .itemNum {
    font-size: 0.75em;
    font-style: italic;
}

td input.quantity {
    width: 50px;
    margin-top: 22px;
    padding: 4px;
    font-size: 0.825em;
    border: 1px solid #aaa;
}

.item {
    display: none;
    position: relative;
    z-index: 1000;
    width: 75px;
    height: 100px;
    margin-left: 25px;
    float: right;
}

.item img {
    width: 100%;
    height: 100%;
}

.item .item-back {
    display: none;
}

@media screen and (min-width: 57em) {
    .item {
        display: block;
    }

    .item .item-front,
    .item .item-back {
        width: 75px;
        height: 100px;

    }
}

@media screen and (min-width: 62em) {
    .item {
        width: 100px;
        height: 150px;
    }

    .item .item-front,
    .item .item-back {
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 250ms;
        -o-transition: -o-transform 250ms;
        -webkit-transition: -webkit-transform 250ms;
        transition: transform 250ms;

        -moz-box-shadow: 0 0 5px rgba(187, 187, 187, 0.5);
        -webkit-box-shadow: 0 0 5px rgba(187, 187, 187, 0.5);
        box-shadow: 0 0 5px rgba(187, 187, 187, 0.5);
    }

    .item .item-front {
        -moz-transform: perspective(300) rotateX(0);
        -webkit-transform: perspective(300) rotateX(0);
        transform: perspective(300) rotateX(0);
        z-index: 900;
        background: #fff;
    }

    .item .item-back {
        -moz-transform: rotateX(-180deg);
        -webkit-transform: rotateX(-180deg);
        transform: rotateX(-180deg);
        z-index: 800;
        background: #fafafa;
    }

    .item:hover .item-front {
        -moz-transform: perspective(300) rotateX(180deg);
        -webkit-transform: perspective(300) rotateX(180deg);
        transform: perspective(300) rotateX(180deg);
    }

    .item:hover .item-back {
        -moz-transform: perspective(300) rotateX(0deg);
        -webkit-transform: perspective(300) rotateX(0deg);
        transform: perspective(300) rotateX(0deg);
    }
}

@media screen and (min-width: 68em) {
    .item {
        width: 150px;
        height: 200px;
    }
}

.cost {
    padding-bottom: 10px;
    border: 1px solid rgba(204, 204, 204, 0.5);
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjAiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5NmEwOTYiIHN0b3Atb3BhY2l0eT0iMC4xMyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(150, 160, 150, 0.13)));
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(150, 160, 150, 0.13) 100%);
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(150, 160, 150, 0.13) 100%);
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(150, 160, 150, 0.13) 100%);
}

@media screen and (min-width: 45em) {
    .cost {
        width: 30%;
        position: absolute;
        display: block;
        left: 25px;
        top: 257px;
        border-width: 1px 1px 1px 1px;
    }
}

@media screen and (min-width: 55em) {
    .cost {
        width: 20%;
        margin-left: 50px;

    }
}

@media screen and (min-width: 61.5em) {
    .cost {
        top:300px;
    }
}

.cost h2 {
    background: #e83e8c;
    color: #eee;
    margin: 0;
    padding: 10px 0;
    width: 100%;
    font-size: 1em;
    text-align: center;
    text-transform: uppercase;
}
